Find Maximum Number From Two Classes Using Friend Function In C++